<!doctype html>
<%@ page language="java" pageEncoding="UTF-8" %>
<html>
    <head>
        <%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
        <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
        <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
        <%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
        <%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
        <script type="text/javascript" src="${path}/html/js/js-jsp/layout-goback.js"></script>
    </head>
    <body>
        <div class="place">
            <span>当前位置：</span>
            <ul class="placeul">
                <c:if test="${source == null}">
                    <li><a url="${path}/videoProject/index.do" iconCls="${param.iconCls}" closable="true">视频配置</a></li>
                </c:if>
                <c:if test="${source != null && source == 'deviceManage'}">
                    <li><a url="${path}/device/index.do" iconCls="${param.iconCls}" closable="true">设备管理</a></li>
                </c:if>
                <li><a>视频详情</a></li>
            </ul>
        </div>
        <div class="descBox">
            <table id="videoProjectDesc" align="center" width="70%">
                <tr>
                    <td><span>设备名称：</span></td>
                    <td><span>${requestScope.videoProject.vpName}</span></td>
                </tr>
                <tr>
                    <td><span>所属项目：</span></td>
                    <td><span>${requestScope.videoProject.project.prName}</span></td>
                </tr>
                <tr>
                    <td><span>所属视频用户：</span></td>
                    <td><span>${requestScope.videoProject.hkUser.userName}</span></td>
                </tr>
                <tr>
                    <td><span>设备编号：</span></td>
                    <td><span>${requestScope.videoProject.deviceId}</span></td>
                </tr>
                <tr>
                    <td><span>负责人：</span></td>
                    <td><span>${requestScope.videoProject.principal}</span></td>
                </tr>
                <tr>
                    <td><span>负责人电话：</span></td>
                    <td><span>${requestScope.videoProject.principalTel}</span></td>
                </tr>
                <tr>
                    <td><span>布点位置：</span></td>
                    <td><span>${requestScope.videoProject.distributionLocation}</span></td>
                </tr>
                <tr>
                    <td><span>布点经度：</span></td>
                    <td><span>${requestScope.videoProject.longitude}</span></td>
                </tr>
                <tr>
                    <td>布点纬度：</td>
                    <td align="left">${requestScope.videoProject.latitude}</td>
                </tr>
                <tr>
                    <td><span>视频地址：</span></td>
                    <td><span>${requestScope.videoProject.videoMu38Url}</span></td>
                </tr>
                <tr>
                    <td><span>插件地址：</span></td>
                    <td><span>${requestScope.videoProject.videoUrl}</span></td>
                </tr>
                <tr>
                    <td><span>视频状态：</span></td>
                    <td>
                        <span>${requestScope.videoProject.onLineStatus == 1?'<span style="font-weight: bold; color: green">在线</span>' : '<span style="font-weight: bold; color: red">离线</span>'}</span>
                    </td>
                </tr>
                <tr>
                    <td><span>创建者：</span></td>
                    <td><span>${requestScope.videoProject.createBy}</span></td>
                </tr>
                <tr>
                    <td><span>创建时间：</span></td>
                    <td><span><fmt:formatDate value="${requestScope.videoProject.createDate}"
                                              pattern="yyyy-MM-dd HH:mm:ss"/></span></td>
                </tr>
                <tr>
                    <td><span>更新者：</span></td>
                    <td><span>${requestScope.videoProject.updateBy}</span></td>
                </tr>
                <tr>
                    <td><span>更新时间：</span></td>
                    <td><span><fmt:formatDate value="${requestScope.videoProject.updateDate}"
                                              pattern="yyyy-MM-dd HH:mm:ss"/></span></td>
                </tr>
            </table>
        </div>
    </body>
</html>
